/**
 */
package org.karelun.rabbit.graph;


/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Connection</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link org.karelun.rabbit.graph.Connection#getTargetShape <em>Target Shape</em>}</li>
 *   <li>{@link org.karelun.rabbit.graph.Connection#getSourceShape <em>Source Shape</em>}</li>
 * </ul>
 * </p>
 *
 * @see org.karelun.rabbit.graph.GraphPackage#getConnection()
 * @model
 * @generated
 */
public interface Connection extends Texted {
	/**
	 * Returns the value of the '<em><b>Target Shape</b></em>' reference.
	 * It is bidirectional and its opposite is '{@link org.karelun.rabbit.graph.Shape#getTargetConnections <em>Target Connections</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Target Shape</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Target Shape</em>' reference.
	 * @see #setTargetShape(Shape)
	 * @see org.karelun.rabbit.graph.GraphPackage#getConnection_TargetShape()
	 * @see org.karelun.rabbit.graph.Shape#getTargetConnections
	 * @model opposite="targetConnections"
	 * @generated
	 */
	Shape getTargetShape();

	/**
	 * Sets the value of the '{@link org.karelun.rabbit.graph.Connection#getTargetShape <em>Target Shape</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Target Shape</em>' reference.
	 * @see #getTargetShape()
	 * @generated
	 */
	void setTargetShape(Shape value);

	/**
	 * Returns the value of the '<em><b>Source Shape</b></em>' reference.
	 * It is bidirectional and its opposite is '{@link org.karelun.rabbit.graph.Shape#getSourceConnections <em>Source Connections</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Source Shape</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Source Shape</em>' reference.
	 * @see #setSourceShape(Shape)
	 * @see org.karelun.rabbit.graph.GraphPackage#getConnection_SourceShape()
	 * @see org.karelun.rabbit.graph.Shape#getSourceConnections
	 * @model opposite="sourceConnections"
	 * @generated
	 */
	Shape getSourceShape();

	/**
	 * Sets the value of the '{@link org.karelun.rabbit.graph.Connection#getSourceShape <em>Source Shape</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Source Shape</em>' reference.
	 * @see #getSourceShape()
	 * @generated
	 */
	void setSourceShape(Shape value);

} // Connection
